/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBlayer;
import Modellayer.*;
import java.util.ArrayList;

/**
 *
 * @author bruhn
 */
public interface IFDBSupplier {
  // get all Supplier
    public ArrayList<Supplier>getAllSupplier();
    //get one Supplier having the ID
    public Supplier findSupplier(int SupplierID);
    //find one supplier having the supplier name
    public Supplier searchSupplier( String name, boolean retriveAssociation);
    //insert new supplier
    public int insert(Supplier sup);
    //update supplier
    public int update(Supplier sup);
    //delete supplier
    public int delete(Supplier sup);
}
